package bob.project.object;

import org.newdawn.slick.Graphics;
import org.newdawn.slick.geom.Rectangle;

public abstract class GameObject
{

	int width, height;
	float x,y;
	Rectangle rect;
	
	public void setDimensions(float xx,float yy, int width, int height)
	{
		x = xx;
		y = yy;
		this.width = width;
		this.height = height;
		rect = new Rectangle (x,y,width,height);
	}
	
	
	public abstract void update(int delta);

	
	public abstract void draw(Graphics g);
}
